package cn.zebra.dev.admin.module.product.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ToString
public class ProductGroupVO {

    @ApiModelProperty(value = "上级分组id")
    private Long parentId;

    @ApiModelProperty("分组名")
    @NotBlank(message = "分组名不能为空!")
    private String groupName;

    @ApiModelProperty("分组图")
    private String groupImage;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("是否显示")
    private Boolean showFlag = Boolean.TRUE;
}
